package com.vanzo.some.action;

import android.view.MotionEvent;

/**
 * Created by tisen on 2017/6/8.
 */

public class HandAction {
    public final static int ACTION_DOWN = MotionEvent.ACTION_DOWN;
    public final static int ACTION_UP = MotionEvent.ACTION_UP;

    private String id;
    private int x;
    private int y;
    private long delay;
    private int action;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public long getDelay() {
        return delay;
    }

    public void setDelay(long delay) {
        this.delay = delay;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    @Override
    public String toString() {
        return "HandAction{" +
//                "id='" + id + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", delay=" + delay +
                ", action=" + action +
                '}';
    }
}
